using System;
using System.Collections.Generic;
using System.Text;

namespace Pbdms.NetworkDealer.Requests
{
    /// <summary>
    /// define the format for a Download Request
    /// </summary>
    public class DownloadRequest
    {
        /// <summary>
        /// source of the request
        /// </summary>
        public String ipAddSource;
        /// <summary>
        /// id of the item being requested
        /// </summary>
        public string itemId;
        /// <summary>
        /// the id of the request itself
        /// </summary>
        public int requestId;

        public DownloadRequest() { }
        /// <summary>
        /// create an instance
        /// </summary>
        /// <param name="ipSource"></param>
        /// <param name="itemId"></param>
        /// <param name="requestId"></param>
        public DownloadRequest(string ipSource,string itemId, int requestId)
        {
            this.ipAddSource = ipSource;
            this.itemId = itemId ;
            this.requestId = requestId;
        }
    }
}
